<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <#assign title="系统登录">
    <#include "/admin/adminheader.ftl">
    <link href="/static/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/admin/css/fonts.css" rel="stylesheet">
    <link href="/static/admin/css/style.css" rel="stylesheet">
    <style>
        .loginpage {
            position: relative;
        }
        .login {
            display: flex !important;
            min-height: 100vh;
            align-items: center !important;
            justify-content: center !important;
        }
        .login-center {
            background: #fff;
            min-width: 38rem;
            padding: 2em 3em;
            border-radius: 10px;
            margin: 2em 0;
        }
        .login-header {
            margin-bottom: 2rem !important;
        }
        .login-center .has-feedback.feedback-left .form-control {
            padding-left: 38px;
            padding-right: 12px;
        }
        .login-center .has-feedback.feedback-left .form-control-feedback {
            left: 0;
            right: auto;
            width: 38px;
            height: 38px;
            line-height: 38px;
            z-index: 4;
            color: #dcdcdc;
        }
        .login-center .has-feedback.feedback-left.row .form-control-feedback {
            left: 15px;
        }
    </style>
</head>
<body>
<div class="loginpage">
    <div class="login">
        <div class="login-center">
            <div class="login-header text-center">
                <a href="/admin">后台管理系统</a>
            </div>
            <form action="/admin/admin?action=login" method="post">
                <div class="form-group has-feedback feedback-left">
                    <input type="text" placeholder="账号/手机号" value="13014577033" autofocus class="form-control" name="account" id="username">
                    <span class="ftsucai-65 form-control-feedback" aria-hidden="true"></span>
                </div>
                <div class="form-group has-feedback feedback-left">
                    <input type="password" placeholder="密码" value="123456" class="form-control" id="password" name="passwd">
                    <span class="ftsucai-216 form-control-feedback" aria-hidden="true"></span>
                </div>
                <div class="form-group has-feedback feedback-left row">
                    <div class="col-7">
                        <input type="text" name="checks" class="form-control" placeholder="验证码">
                        <span class="ftsucai-mao form-control-feedback" aria-hidden="true"></span>
                    </div>
                    <div class="col-5">
                        <img src="/admin/captcha" class="pull-right" id="captcha" style="cursor: pointer;" onclick="this.src=this.src+'?d='+Math.random();" title="点击刷新" alt="captcha">
                    </div>
                </div>
                <div class="form-group">
                    <button class="btn btn-block btn-primary" type="submit">立即登录</button>
                </div>
            </form>
            <hr>
            <footer class="col-sm-12 text-center">
                <p class="m-b-0">Copyright © 2020 <a href="http://www.webrx.cn">项目开发</a> All right reserved</p>
            </footer>
        </div>
    </div>
</div>


<script src="/static/admin/js/jquery.min.js"></script>
<script src="/static/admin/js/bootstrap.js"></script>
</body>
</html>